<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="Keywords" content="" />
        <meta name="Description" content="" />
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
        <title>确认订单</title>
        <link rel="shortcut icon" href="favicon.ico" />
        <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css" />
        <link rel="stylesheet" type="text/css" href="__CSS__/home/flow.css" />
        <link rel="stylesheet" type="text/css" href="__CSS__/home/shopping.css" />
        <script src="__JQ__" type="text/javascript" charset="utf-8"></script>
        <script src="__JS__/layer/layer.js" type="text/javascript" charset="utf-8"></script>
        <script src="__JS__/taodudu.lib.js" type="text/javascript" charset="utf-8"></script>
        <script src="__JS__/home/utils.js" type="text/javascript" charset="utf-8"></script>
        <script src="__JS__/home/order.js" type="text/javascript" charset="utf-8"></script>
        <style type="text/css">
            .jm_cartnum {width: 80px;}
        </style>
    </head>

    <body style="cursor:auto">
        <include file='Public/head_a' />
        <div class="header w990">
            <div class="mall-logo">
                <a href="#"><img src="__IMG__/home/logo.png"></a>
            </div>
            <div class="shopping_main2_box Common">
                <div class="shopping_main2"><strong>提交订单</strong>
                    <p>提交订单后请在<span>20</span>分钟内完成支付</p>
                </div>
            </div>
        </div>
        <div class="block_jm">
            <form name="theForm" id="theForm" method="post" action="{:U('/Trader/DoCartBuy')}" onsubmit="return ordersubmit()" style="border:1px solid #ddd; width: 1000px; margin: 0 auto;padding-bottom: 20px;">
                <div id="Personal_address" class="checkBox_jm clearfix">
                    <script type="text/javascript">
                        $(document).ready(function () {
                            $("#Personal_address").html(Aajaxobj("{:U('/Trader/reloadAddress')}"));
                        })
                    </script>
                </div>
                <div id="inventory" class="checkBox_jm">
                    <script type="text/javascript">
                        var dedede = {goods_id: "{$in}"};
                        var detype = 1;
                        $(document).ready(function () {
                            var date = Aajax("{:U('/Trader/reloadCartBuy')}", dedede);
                            $("#inventory").html(date['html']);
                            $("#anonymous_1").html(date['voucher']);
                            $("#anonymous_2").html(date['mansong']);
                            $(".realPay-price").html(date['totalPrice']);
                            $(".realPay-price").val(date['totalPrice']);
                        })
                    </script>
                </div>
                <div class="checkBox_jm" id="pay_div">
                    <div class="title">支付方式</div>
                    <ul class="payment_tab_jm" id="payment_tab">
                        <li>
                            <div class="payment_subbox">
                                <ul>
                                    <li>
                                        <label for="payment_other1">
                                            <input type="radio" id="payment_other1" name="payment" value="weixin" checked="checked" iscod="0" class="f_checkbox_t" />
                                            <img align="absmiddle" src="__IMG__/home/pay_weixin.gif" alt="微信支付" />
                                        </label>
                                    </li>
                                    <li>
                                        <label for="payment_other2">
                                            <input type="radio" id="payment_other2" name="payment" value="alipay" iscod="0" class="f_checkbox_t" />
                                            <img align="absmiddle" src="__IMG__/home/pay_alipay.gif" alt="支付宝" />
                                        </label>
                                    </li>
                                    <li>
                                        <label for="payment_other3">
                                            <input type="radio" id="payment_other3" name="payment" value="upcash" iscod="0" class="f_checkbox_t" />
                                            <img align="absmiddle" src="__IMG__/home/pay_unionpay.gif" alt="银联支付" />
                                        </label>
                                    </li>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="order-facility facility">
                    <div class="order-anonymous" id="anonymous_2"></div>
                    <div class="order-anonymous" id="anonymous_1"></div>
                </div>
                <div class="flowBox_jm clearfix">
                    <div class="order-payInfo" id="payInfo_1">
                        <div class="payInfo-wrapper">
                            <div class="payInfo-shadow">
                                <div class="order-realPay" id="realPay_1">
                                    <div>
                                        <span class="realPay-title">实付款：</span>
                                        <span class="order-price">￥</span>
                                        <span class="realPay-price">{$T}</span>
                                        <input type="hidden" value="" class="realPay-price" />
                                    </div>
                                </div>
                                <div class="order-confirmAddr" id="confirmAddr_1">
                                    <script type="text/javascript">
                                        $(document).ready(function () {
                                            $("#confirmAddr_1").html(Aajaxobj("{:U('/Trader/defaultAdderss')}"));
                                        })
                                    </script>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="dibu_anniu" style="text-align: right;">
                        <input class="ConfirmOrder" type="submit" name="submit" id="submit" value="确认订单" />
                    </div>
                </div>
            </form>
        </div>
        <div style="width: 100%; height: 25px;"></div>
        <div class="site-footer">
            <div class="footer-related">
                <include file="Public/bootom_a" />
                <include file="Public/bootom_b" />
                <include file="Public/bootom_c" />
            </div>
        </div>
    </body>
</html>
<script type="text/javascript">
    $("body").on("change", "#pt_cp2", function () {
        zong2();
    })
</script>